package Access;

import Entities.SoundRecordingCompany;
import java.util.LinkedList;
import javax.ejb.Remote;

/**
 *
 * @author 647_2
 */
@Remote
public interface RecordingsRemote {
    public LinkedList<SoundRecordingCompany> getAllRecordings();
    public LinkedList<SoundRecordingCompany> getAllRecordings(int start, int count);

    public LinkedList<SoundRecordingCompany> getRecordingsByCountryID(int cID, int start, int count);

    public SoundRecordingCompany getRecording(int ID);

    public boolean AddRecording(String name, int cID, String address, long phone);
    public boolean UpdateRecording(int ID, String name, int cID, String address, long phone);
    public boolean DeleteRecording(int ID);
}
